﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using TMDT_Nhom1A.DAO;
using TMDT_Nhom1A.DTO;
using System.Collections.Generic;

namespace TMDT_Nhom1A.BUS
{
    public class TransportWebserviceBUS
    {
        public static List<TRANSPORT_WEBSERVICE> getAllTransportWebservice()
        {
            return TranportWebserviceDAO.getAllTransportWebservice();
        }

        public static bool insertTransportWebservice(TRANSPORT_WEBSERVICE transportWS)
        {
            return TranportWebserviceDAO.insertTransportWebservice( transportWS);
        }

        public static bool updateTransportWebservice(TRANSPORT_WEBSERVICE transportWS)
        {
            return TranportWebserviceDAO.updateTransportWebservice(transportWS);
        }

        public static bool deleteTransportWebservice(int transportWsId)
        {
            return TranportWebserviceDAO.deleteTransportWebservice(transportWsId);
        }
    }
}
